package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 薪资管理对象 salary
 * 
 * @author ruoyi
 * @date 2023-04-11
 */
public class Salary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 薪资编号 */
    @Excel(name = "薪资编号")
    private Long salaryId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long employeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private Long baseSalary;

    /** 五险一金 */
    @Excel(name = "五险一金")
    private Long insurance;

    /** 迟到次数 */
    @Excel(name = "迟到次数")
    private Long late;

    /** 全勤奖金 */
    @Excel(name = "全勤奖金")
    private Long bonus;

    /** 最终工资 */
    @Excel(name = "最终工资")
    private Long finalSalary;

    /** 逻辑删除 */
    private Long deleted;

    public void setSalaryId(Long salaryId) 
    {
        this.salaryId = salaryId;
    }

    public Long getSalaryId() 
    {
        return salaryId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setBaseSalary(Long baseSalary) 
    {
        this.baseSalary = baseSalary;
    }

    public Long getBaseSalary() 
    {
        return baseSalary;
    }
    public void setInsurance(Long insurance) 
    {
        this.insurance = insurance;
    }

    public Long getInsurance() 
    {
        return insurance;
    }
    public void setLate(Long late) 
    {
        this.late = late;
    }

    public Long getLate() 
    {
        return late;
    }
    public void setBonus(Long bonus) 
    {
        this.bonus = bonus;
    }

    public Long getBonus() 
    {
        return bonus;
    }
    public void setFinalSalary(Long finalSalary) 
    {
        this.finalSalary = finalSalary;
    }

    public Long getFinalSalary() 
    {
        return finalSalary;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salaryId", getSalaryId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("baseSalary", getBaseSalary())
            .append("insurance", getInsurance())
            .append("late", getLate())
            .append("bonus", getBonus())
            .append("finalSalary", getFinalSalary())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
